package cn.rick.mapper;

import cn.rick.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author house_store
 * @since 2022-10-19 14:39:46
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 通过参数查询用户数据
     *
     * @param sysUser
     * @param startTime
     * @param endTime
     * @return
     */
    List<SysUser> getAllByParam(@Param("sysUser") SysUser sysUser, @Param("startTime") String startTime, @Param("endTime") String endTime);

}
